package com.example.innovate.service;

import com.example.innovate.bean.CounterPart;
import com.example.innovate.domain.EmploymentInfoDO;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface EmploymentService {

    EmploymentInfoDO addInfo(EmploymentInfoDO employmentInfoDO);

    EmploymentInfoDO findById(int id);

    void deleteInfo(int id);

    EmploymentInfoDO updateInfo(EmploymentInfoDO employmentInfoDO);

    List<EmploymentInfoDO> findAll(String className, String name, int userId, int pageNumber, int pageSize);

    //根据专业返回占比
    Double proportionByMajor(String major);

    //展示专业对口情况
    CounterPart findInfo(String major);

    //就业城市展示
    Map<String,Integer> findCity();

    Map<String,Double> findPay();


    Set<String> findAllMajor();

}
